home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: ODTransform problem
- Sent: 8/1/96 12:10 PM
- Received: 8/1/96 3:34 PM
- From: Troy Gaul, tgaul@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >>>I find that I cannot see the contents of
- >>>the ODTransform in the MW debugger. Is there someway to view this object in
- >>>the debugger?
- >
- >The MW debugger does have some SOM support, including a special hand-built
- >OpenDoc SOM-symbols file. Check out your CW9 CD.
-
- Of course, this won't help with an ODTransform in particular as it's not a
- SOM object. In fact, it's a ByteArray. The data part of the byte array
- contains the polygon data in the format specified in Polygon.idl:
-
- //=====================================================================
- // ODContour
- //=====================================================================
-
- typedef ODByteArray ODContour;
-
- /*
- struct ODContour {
- ODSLong nVertices; // Variable-size struct:
- ODPoint vertex[1]; // Array size is actually nVertices
- };
- */
-
- //=====================================================================
- // ODPolygon
- //=====================================================================
-
- typedef ODByteArray ODPolygon;
-
- /*
- struct ODPolygon {
- ODSLong nContours; // Variable-size struct:
- ODContour firstContour; // Rest of contours follow after first
- };
- */
-
- _troy
-
- ......................................................................
- Troy Gaul tgaul@apple.com
- Apple Computer, Inc. OpenDoc Parts
-
-
-